# -*- coding:utf-8 -*-

from rest_framework import serializers
from rest_framework.serializers import ModelSerializer
from ..models.loginLog import SystemUserLoginInfo


class LoginInfoSer(ModelSerializer):
    losePassword = serializers.CharField(write_only=True)

    class Meta:
        model = SystemUserLoginInfo
        fields = '__all__'
        # exclude = ["userid"]

